def print_line(char,times):  # char字符 输入形式“ ”
    print(char * times)


def print_lines(char,times,row):
    
    i= 0
    while i < row:
        i += 1
        print_line(char,times)    


print_lines("-",5,3)